package com.ruoyi.classai.service;

import com.ruoyi.classai.domain.EwcAttendanceRecords;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.classai.domain.dto.CourseAttendanceDto;
import com.ruoyi.classai.domain.vo.CourseAttendanceVo;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 考勤记录Service接口
 * 
 * @author lcj
 * @date 2025-02-28
 */
public interface IEwcAttendanceRecordsService extends IService<EwcAttendanceRecords> {

    /**
     *  查询学生考勤记录
     * @param courseId 课程id
     * @param chapterId 章节id
     * @param classId 班级id
     */
    List<CourseAttendanceVo> getCourseAttendance(String courseId, String chapterId, String classId);

    /**
     *  添加更新学生考勤记录
     * @param courseAttendanceDto 考勤信息
     */
    void addOrDelCourseAttendance(CourseAttendanceDto courseAttendanceDto);
}
